package com.shuiyun.jtt.message.jt808;

import com.shuiyun.jtt.anno.Message;
import com.shuiyun.jtt.enums.JT808;
import com.shuiyun.jtt.message.JTMessage;
import com.shuiyun.jtt.utils.codec.DataType;
import com.shuiyun.jtt.utils.codec.FieldValue;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author shuiyun
 * @program device-simulator
 * @description 数据压缩上报
 * @date 2022-05-09 22:33
 **/
@EqualsAndHashCode(callSuper = true)
@Data
@Message(value = JT808.数据压缩上报0x0901)
public class T0901 extends JTMessage {

    @FieldValue(type = DataType.BYTES,lengthSize = 4,desc = "压缩消息体 Gzip压缩")
    private byte[] content;
}
